package com.smedi.ismedi.inmail.core.domain.aggregatemodel;

import lombok.Data;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

/**
 * @author u
 */
@Data
public class MessageRecord {
    private Long id;

    private Integer version;

    private String projectId;

    private String projectName;

    private Long userId;

    private Long messageId;

    private String messageType;

    private String sourceFrom;

    private Long sourceFromId;

    private String messageTitle;

    private String messageContent;

    private Boolean messageRead;

    private LocalDateTime pushTime;

    private List<String> attachmentKeyList = new ArrayList<>();
    /**
     * 附件名称
     */
    private List<String> attachmentNameList = new ArrayList<>();
    /**
     * 附件后缀名
     */
    private List<String> attachmentExtensionList = new ArrayList<>();
}